package top.happylaishop.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.happylaishop.shop.pojo.Product;

public interface ProductDao extends BaseMapper<Product> {

    int updateSubStockById(@Param("id") Integer id, @Param("quantity")Integer quantity);

}
